//--------------------------------------------------------------------
//     Author:Howe
//     Date: 2021-04-13 21:43:59 
//     Description:对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel;

namespace Kylin.Wiki.Model.Entity
{
    ///<summary>
    ///sys_Oper_Log
    ///</summary>
    [Table("sys_oper_log")]
    public class Oper_Log : BaseEntity
    {

        /// <summary>
        /// 日志主键
        /// </summary>
        [Key]
        [Required]
        [DisplayName("日志主键")]
        [Column("oper_id")]
        public int OperID { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        [DisplayName("业务类型")]
        [Column("business_type")]
        public int? BusinessType { get; set; }

        /// <summary>
        /// 方法名称
        /// </summary>
        [DisplayName("方法名称")]
        [Column("method")]
        public string Method { get; set; }

        /// <summary>
        /// 请求方式
        /// </summary>
        [DisplayName("请求方式")]
        [Column("request_method")]
        public string RequestMethod { get; set; }

        /// <summary>
        /// 操作人员
        /// </summary>
        [DisplayName("操作人员")]
        [Column("user_id")]
        public int? UserID { get; set; }

        /// <summary>
        /// 请求URL
        /// </summary>
        [DisplayName("请求URL")]
        [Column("url")]
        public string URL { get; set; }

        /// <summary>
        /// 请求参数
        /// </summary>
        [DisplayName("请求参数")]
        [Column("request_param")]
        public string RequestParam { get; set; }

        /// <summary>
        /// 返回结果
        /// </summary>
        [DisplayName("返回结果")]
        [Column("json_result")]
        public string JsonResult { get; set; }

        /// <summary>
        /// 异常信息
        /// </summary>
        [DisplayName("异常信息")]
        [Column("exception_info")]
        public string ExceptionInfo { get; set; }

         

    }
}
